<%@ page pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib uri="http://www.ld.com/shield/tags" prefix="shield"%>
<%@ page trimDirectiveWhitespaces="true" %>
<!-- 内容主体区域 -->
<div class="contentBody">
	<h2 class="h2Title">项目内部的SQL文件</h2>
    <table class="tab-show" style="margin-top: 10px;" data-notitle="true">
    	<colgroup>
    		<col width="20%">
    		<col width="">
    	</colgroup>
		<tbody>
<c:forEach var="model" items="${docs }" varStatus="var">
		<tr>
			<th><label>${model.source }：</label></th>
			<td>
	<c:forEach var="model" items="${model.files }" varStatus="var">
				<a class="button big shieldDialog" data-url="${ctxPathA}/tool/sqlfile/open?url=${model.path }" style="line-height: 35px;"
				viewTitle="SQL文件内容:${model.fileName }" viewWidth="600">${model.fileName }</a>
	</c:forEach>
			</td>
		</tr>
</c:forEach>
    	</tbody>
    </table>
</div>
<!-- 代码预览 -->
<link rel="stylesheet" href="//cdn.staticfile.org/highlight.js/10.0.3/styles/an-old-hope.min.css">
<script src="//cdn.staticfile.org/highlight.js/10.0.3/highlight.min.js"></script>